<table class="table table-hover">
   
    <thead>
	     <tr>
	        <th colspan="7">
	        	<button type="button" class="btn btn-primary" id="addButton" onclick="editButton()">添加按钮</button>&nbsp;&nbsp;
	        	<button type="button" class="btn btn-primary" id="updateWechatButton" onclick="updateButton()">更新按钮到微信公众号</button>
	        </th>
	    </tr>
	    <tr>
	        <th>按钮名称</th>
	        <th>按钮类型</th>
	        <th>key</th>
	        <th>url</th>
	        <th>appid</th>
	        <th>pagepath</th>
	        <th>操作</th>
	    </tr>
    </thead>
    <tbody id="tbody">
    <#list childButtonList as button>
        <tr>
            <td>${button.name}</td>
            <td>${button.type!""}</td>
            <td>${button.key!""}</td>
            <td>${button.url!""}</td>
            <td>${button.appid!""}</td>
            <td>${button.pagepath!""}</td>
            <td>
                <button type="button" class="btn btn-primary" id="editCatalog" onclick="editButton(this)" data-json='${button.jsonData!""}'>编辑</button>
                <button type="button" class="btn btn-primary" id="deleteCatalog" onclick="deleteButton(${button.id})">删除</button>
            </td>
        </tr>
    </#list>
    </tbody>
</table>